/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jtmcraft.game.communication;

/**
 *
 * @author tom
 */
public class TextMessage {
    private String message;
    private long timestamp; //czas dojscia

    public TextMessage(String message, long timestamp) {
        this.message = message;
        this.timestamp = timestamp;
    }

    public String getMessage() {
        return message;
    }

    public long getTimestamp() {
        return timestamp;
    }
    
}
